package com.zy.dao.bs;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.zy.dao.base.BaseDao;
import com.zy.entity.bs.ActivityEnroll;
import com.zy.pojo.query.bs.ActivityEnrollQuery;

public interface ActivityEnrollDao extends BaseDao<ActivityEnroll> {

	List<ActivityEnroll> listActivityEnroll(@Param("activityEnrollQuery") ActivityEnrollQuery activityEnrollQuery, @Param("start") Integer start, @Param("limit") Integer limit);

	long countActivityEnroll(@Param("activityEnrollQuery") ActivityEnrollQuery activityEnrollQuery);

	String endNo(@Param("code") String code);

    List<ActivityEnroll> getEnrollList(@Param("activityId") Long activityId, @Param("start") Integer start, @Param("limit") Integer limit);

    long countEnrol(@Param("activityId") Long activityId);





}